package com.jzt.qf.controller;

import com.jzt.qf.https.JztApi;
import com.jzt.qf.service.GetService.GetOutStockService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("token")
@Api(tags = "token控制器")
@Slf4j
public class TokenController {
    @Resource
    private JztApi jztApi;

    @GetMapping("/getToken")
    @ApiOperation(value = "获取token")
    public Object getToken() {

        return jztApi.getToken();
    }
}
